<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Insert title here</title>
</head>
<body>
	<form action="loginServlet" method="post">
		<label for="userName">用户名：</label>
		<input type="text" name="userName" id="userName" /><br/>
		
		<label for="password">密&nbsp;&nbsp;&nbsp;码：</label>
		<input type="text" name="password" id="password" /><br/>
		
		<input type="reset" value="重置" />
		<input type="submit" value="提交"/>
	</form>
userName:${sessionScope.userName}<br/>
password:${sessionScope.password}<br/>
</body>
</html>